package com.woniuxy.springboot01helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping(value = "/hello")
    public String hello(){
        return "Hello SpringBoot!";
    }
    @GetMapping(value = "/hello1")
    public String hh(){
        return "Hello Giles!";
    }
    @GetMapping(value = "/hello3")
    public String hello3(){
        return "Hello Astro11!";
    }
    @GetMapping(value = "/hello4")
    public String hello4(){
        return "Hello Peter!";
    }

}
